/**
 * @author 黄雄
 * @Description 复杂if
 * @date 2019/11/7
 */
public class Demo5 {
    public static void main(String[] arg){
        //java大于90且音乐大于80
        //或者java=100，且音乐大于70
        int javaScore=100;
        int musicScore=81;
        boolean flag1=javaScore>90&&musicScore>80;
        boolean flag2=javaScore==100&&musicScore>70;
        if (flag1||flag2){
            System.out.println("老师奖励");
        }else{
            System.out.println("蹲马步");
        }

    }
}
